<?php

/* @var $this yii\web\View */
use yii\helpers\Url;

$this->title = '智慧农业平台';
$this->registerCssFile('@web/css/index.css');
$this->registerCssFile('@web/css/com-list.css');
?>



<div class="main-content">
    <div class="cominfo-content">
        <?php foreach($parks as $park):?>
            <div class="comInfo status-red">
                <div class="com-data-area">
                    <div>
                        <span class="parkName"><?=$park->name?></span>
                        <span class="comName"><?=$park->company->name?></span>
                    </div>
                    <div class="list-btn" align="right">
                        <span class="glyphicon glyphicon-menu-hamburger"></span>
                    </div>
                    <div class="start-equip-title">
                        <span class="glyphicon glyphicon-cog"> 已启动的设备</span>
                    </div>
                </div>
                <div class="equip-status-area">
                    <div>
                        <span class="glyphicon glyphicon-chevron-left btn-arrow" ></span>
                    </div>
                    <div class="equip-content">
                        <img src="<?=Url::to('@web/images/temp_red.png') ?>"/>
                        <img src="<?=Url::to('@web/images/water_red.png') ?>"/>
                        <img src="<?=Url::to('@web/images/light_red.png') ?>"/>
                        <img src="<?=Url::to('@web/images/earth_temp_red.png') ?>"/>
                        <img src="<?=Url::to('@web/images/earch_dampness_red.png') ?>"/>
                        <img src="<?=Url::to('@web/images/carmera_green.png') ?>"/>
                    </div>
                    <div>
                        <span class="glyphicon glyphicon-chevron-right btn-arrow"></span>
                    </div>
                </div>
            </div>
        <?php endforeach?>
        <div style="clear:both"></div>
    </div>
</div> <!--main-content-->
